package com.yuyou.tas.job.service;

/*import com.yuyou.tas.service.api.feedback.entity.Feedback;
import com.yuyou.tas.service.api.feedback.entity.FeedbackNote;
import com.yuyou.tas.service.api.feedback.entity.FeedbackSituation;
import com.yuyou.tas.service.api.feedback.service.FeedbackAPI;
import com.yuyou.tas.service.api.feedback.service.FeedbackNoteAPI;
import com.yuyou.tas.service.api.feedback.vo.req.FeedbackListVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;*/

import org.springframework.stereotype.Component;

@Component
public class FeedbackScheduled {

    /*@Autowired
    private FeedbackAPI feedbackAPI;

    @Autowired
    private FeedbackNoteAPI feedbackNoteAPI;

    *//**
     * 处理反馈中需要从微信服务器下载到七牛云的图片音频任务
     *//*
//    @Scheduled(cron="0 0 0/1 * * ?")
    @Scheduled(cron="0/30 * * * * ?")
    public void sourceOperationJob(){
        List<FeedbackSituation> feedbacks = feedbackAPI.findAllNeedOperate();
        List<FeedbackNote> feedbackNotes = feedbackNoteAPI.findAllNeedOperate();

        feedbackAPI.insert2Job(new FeedbackListVo(feedbacks , feedbackNotes));
    }*/
}
